package io.shdxhl.simplerpc.server;

import org.springframework.context.annotation.Configuration;

import javax.annotation.PostConstruct;
import javax.annotation.Resource;

@Configuration
public class SimpleServerBootstrap {

    @Resource
    private SimpleServerRunner simpleServerRunner;
    /**
     * RPC  server 初始化入口
     * PostConstruct
     */
    @PostConstruct
    public void bootstrap() {
        simpleServerRunner.run();
    }
}
